<?php   // $Id: bon_sup_article.php 234 2008-07-06 21:49:31Z pcoustillas $ ?>
<?php   
/*
Copyright (C) 2003-2004 Guy Hendrickx
Licensed under the terms of the GNU  General Public License:http://www.opensource.org/licenses/gpl-license.php
File Authors:Guy Hendrickx 
*/
require_once("include/verif.php");
require_once("include/config/common.php");
require_once("include/language/$lang.php");
$num_cont=isset($_GET['num_cont'])?$_GET['num_cont']:"";
$num_bon=isset($_GET['num_bon'])?$_GET['num_bon']:"";

//mysql_select_db($db) or die ("Could not select $db database");
$sql1 = "DELETE FROM ${tblpref}cont_bon WHERE num=$num_cont";
mysql_query($sql1) or die("Erreur supression article !<br/>$sql1<br/>" . mysql_error());

header("Location: bon_edit.php?num_bon=$num_bon");

?>